﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UCenter.PluginFramework;
using UCenter.EmailService;

namespace UCenter.KeyWordsFilter
{
    /// <summary>
    /// Just used for test
    /// </summary>
    [Extension]
    public class FilterManager : PlugInContextBase
    {
        public override void Initialize()
        {
            MailService.BeforeEmailSent += new EventHandler<MailEventArgs>(MailService_BeforeEmailSent);
        }

        public override void Dispose()
        {
            MailService.BeforeEmailSent -= new EventHandler<MailEventArgs>(MailService_BeforeEmailSent);
        }

        void MailService_BeforeEmailSent(object sender, MailEventArgs e)
        {

        }
    }
}
